package com.game.view
{
    public interface IAnimation extends IViewer
    {
        function GotoAndPlay(frame:int):void;
        
        function GotoAndStop(frame:int):void;
        
        function Stop():void;
        
        function Pause():void
        
        function Play():void;
        
        function NextFrame():void;
        
        function PrevFrame():void;
        
        function Destroy():void;
        
        // 动画渲染
        function renderAnimate():void;
        
        function get currentFrame():int;
        
        function get totalFrame():int;
        
        function get isPlaying():Boolean;
        
        function get frameLeft():int;
        
        function get loopTime():int;
        
        function get isComplete():Boolean;
        
        function get loopType():int;
        
        function set loopType(v:int):void;
    }
}